﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Runtime.CompilerServices;


namespace CityDashboard
{
    class CitydashboardObject
    {
    }

    class ViewTTTongQuatHPT : INotifyPropertyChanged
    {
        int _id;
        string _loai_hs;
        int _soluong_tt;
        int _soluong_dunghan;
        int _soluong_trehan;
        string _percent_soluong_dunghan;
        string _percent_soluong_trehan;


        public int Id
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
                NotifyPropertyChanged("Id");
            }
        }

        public int Soluong_tt
        {
            get
            {
                return _soluong_tt;
            }
            set
            {
                _soluong_tt = value;
                NotifyPropertyChanged("Soluong_tt");
            }
        }

        public int Soluong_dunghan
        {
            get
            {
                return _soluong_dunghan;
            }
            set
            {
                _soluong_dunghan = value;
                NotifyPropertyChanged("Soluong_dunghan");
            }
        }

        public int Soluong_trehan
        {
            get
            {
                return _soluong_trehan;
            }
            set
            {
                _soluong_trehan = value;
                NotifyPropertyChanged("Soluong_trehan");
            }
        }

        public string LoaiHs
        {
            get
            {
                return _loai_hs;
            }
            set
            {
                _loai_hs = value;
                NotifyPropertyChanged("LoaiHs");
            }

        }

        public string Percent_soluong_trehan
        {
            get
            {
                return _percent_soluong_trehan;
            }
            set
            {
                _percent_soluong_trehan = value;
                NotifyPropertyChanged("Percent_soluong_trehan");
            }

        }
        public string Percent_soluong_dunghan
        {
            get
            {
                return _percent_soluong_dunghan;
            }
            set
            {
                _percent_soluong_dunghan = value;
                NotifyPropertyChanged("Percent_soluong_dunghan");
            }

        }


        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }

    class View_LoaiHS_trinhUB_DungHan_HPT : INotifyPropertyChanged
    {
        int _id;
        int _loai_hs;
        string _loai_hs_desc;
        int _trinhUBND;
        string _trinhUBND_desc;
        int _TT_DungHan;
        string _TT_DungHan_desc;
        int _soluong;


        public int Id
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
                NotifyPropertyChanged("Id");
            }
        }

        public int Loai_hs
        {
            get
            {
                return _loai_hs;
            }
            set
            {
                _loai_hs = value;
                NotifyPropertyChanged("Loai_hs");
            }
        }

        public int TrinhUBND
        {
            get
            {
                return _trinhUBND;
            }
            set
            {
                _trinhUBND = value;
                NotifyPropertyChanged("TrinhUBND");
            }
        }

        public int TT_DungHan
        {
            get
            {
                return _TT_DungHan;
            }
            set
            {
                _TT_DungHan = value;
                NotifyPropertyChanged("TT_DungHan");
            }
        }

        public string Loai_hs_desc
        {
            get
            {
                return _loai_hs_desc;
            }
            set
            {
                _loai_hs_desc = value;
                NotifyPropertyChanged("Loai_hs_desc");
            }

        }

        public string TrinhUBND_desc
        {
            get
            {
                return _trinhUBND_desc;
            }
            set
            {
                _trinhUBND_desc = value;
                NotifyPropertyChanged("TrinhUBND_desc");
            }

        }
        public string TT_DungHan_desc
        {
            get
            {
                return _TT_DungHan_desc;
            }
            set
            {
                _TT_DungHan_desc = value;
                NotifyPropertyChanged("TT_DungHan_desc");
            }

        }

        public int Soluong
        {
            get
            {
                return _soluong;
            }
            set
            {
                _soluong = value;
                NotifyPropertyChanged("Soluong");
            }
        }


        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }

    class View_ThonKeTreHPT : INotifyPropertyChanged
    {
        int _id;
        string _sobnnhan;
        int _ngaytremax;
        int _ngaytremin;
        int _ngaytreavg;

        public int Id
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
                NotifyPropertyChanged("Id");
            }
        }

        public int MaxDay
        {
            get
            {
                return _ngaytremax;
            }
            set
            {
                _ngaytremax = value;
                NotifyPropertyChanged("MaxDay");
            }
        }

        public int MinDay
        {
            get
            {
                return _ngaytremin;
            }
            set
            {
                _ngaytremin = value;
                NotifyPropertyChanged("MinDay");
            }
        }

        public int AvgDay
        {
            get
            {
                return _ngaytreavg;
            }
            set
            {
                _ngaytreavg = value;
                NotifyPropertyChanged("AvgDay");
            }
        }

        public string Sobnnhan
        {
            get
            {
                return _sobnnhan;
            }
            set
            {
                _sobnnhan = value;
                NotifyPropertyChanged("Sobnnhan");
            }

        }


        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }

    class ObjectBase : INotifyPropertyChanged
    {
        int _flag = 0;
        string _name;
        int _sl;

        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
                NotifyPropertyChanged("Name");
            }
        }

        public int Sl
        {
            get
            {
                return _sl;
            }
            set
            {
                _sl = value;
                NotifyPropertyChanged("Sl");
            }
        }

        public int Flag
        {
            get
            {
                return _flag;
            }
            set
            {
                _flag = value;
                NotifyPropertyChanged("Flag");
            }
        }


        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
         
            }
        }
    }

    class View_HSTrackingHPT : INotifyPropertyChanged
    {
        string _trangthai_hs;
        string _xuly;
        int _SL;


      

        public string Trangthai_hs
        {
            get
            {
                return _trangthai_hs;
            }
            set
            {
                _trangthai_hs = value;
                NotifyPropertyChanged("Trangthai_hs");
            }
        }

        public string Xuly
        {
            get
            {
                return _xuly;
            }
            set
            {
                _xuly = value;
                NotifyPropertyChanged("Xuly");
            }
        }
        public int Sl
        {
            get
            {
                return _SL;
            }
            set
            {
                _SL = value;
                NotifyPropertyChanged("Sl");
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }

    class View_HSTrackingDetailHPT : INotifyPropertyChanged
    {
        int _Id;
        string _sobnhan;
        string _trangthai_hs;
        string _xuly;
        string _tendn;
        string _tenda;
        string _ngaynhan;
        string _ngaytra;

        public int Id
        {
            get
            {
                return _Id;
            }
            set
            {
                _Id = value;
                NotifyPropertyChanged("Id");
            }
        }


        public string Sobnhan
        {
            get
            {
                return _sobnhan;
            }
            set
            {
                _sobnhan = value;
                NotifyPropertyChanged("Sobnhan");
            }
        }

        public string Tendn
        {
            get
            {
                return _tendn;
            }
            set
            {
                _tendn = value;
                NotifyPropertyChanged("Tendn");
            }
        }

        public string Tenda
        {
            get
            {
                return _tenda;
            }
            set
            {
                _tenda = value;
                NotifyPropertyChanged("Tenda");
            }
        }
       


        public string Trangthai_hs
        {
            get
            {
                return _trangthai_hs;
            }
            set
            {
                _trangthai_hs = value;
                NotifyPropertyChanged("Trangthai_hs");
            }
        }

        public string Xuly
        {
            get
            {
                return _xuly;
            }
            set
            {
                _xuly = value;
                NotifyPropertyChanged("Xuly");
            }
        }


       

        public string Ngaynhan
        {
            get
            {
                return _ngaynhan;
            }
            set
            {
                _ngaynhan = value;
                NotifyPropertyChanged("Ngaynhan");
            }
        }

        public string Ngaytra
        {
            get
            {
                return _ngaytra;
            }
            set
            {
                _ngaytra = value;
                NotifyPropertyChanged("Ngaytra");
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }

    class View_HSTrackingDetailOneHSHPT : INotifyPropertyChanged
    {
     
        string _trangthai_hs;
        string _xuly;
        string _TenNhanVien;
       



        public string Trangthai_hs
        {
            get
            {
                return _trangthai_hs;
            }
            set
            {
                _trangthai_hs = value;
                NotifyPropertyChanged("Trangthai_hs");
            }
        }

        public string NgayXuly
        {
            get
            {
                return _xuly;
            }
            set
            {
                _xuly = value;
                NotifyPropertyChanged("Xuly");
            }
        }

        public string TenNhanVien
        {
            get
            {
                return _TenNhanVien;
            }
            set
            {
                _TenNhanVien = value;
                NotifyPropertyChanged("TenNhanVien");
            }
        }
        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }

    class View_DuanDautuByQuoctichHPT : INotifyPropertyChanged
    {
        int _Id;
        string _tenquoctich_BC;
        int _SL;
        public int Id
        {
            get
            {
                return _Id;
            }
            set
            {
                _Id = value;
                NotifyPropertyChanged("Id");
            }
        }



        public string Tenquoctich_BC
        {
            get
            {
                return _tenquoctich_BC;
            }
            set
            {
                _tenquoctich_BC = value;
                NotifyPropertyChanged("Tenquoctich_BC");
            }
        }

        public int SL
        {
            get
            {
                return _SL;
            }
            set
            {
                _SL = value;
                NotifyPropertyChanged("SL");
            }
        }


        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }


    class View_DuanDaututop5HPT : INotifyPropertyChanged
    {
        string _sobnhan;
        string _tenduandautu;
        float _tongvonUSD;

        public string Sobnhan
        {
            get
            {
                return _sobnhan;
            }
            set
            {
                _sobnhan = value;
                NotifyPropertyChanged("Sobnhan");
            }
        }



        public string Tenduandautu
        {
            get
            {
                return _tenduandautu;
            }
            set
            {
                _tenduandautu = value;
                NotifyPropertyChanged("Tenduandautu");
            }
        }

        public float TongvonUSD
        {
            get
            {
                return _tongvonUSD;
            }
            set
            {
                _tongvonUSD = value;
                NotifyPropertyChanged("TongvonUSD");
            }
        }


        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }

    public class StoredLocalDataObj
    {
        public int HSNhan { get; set; }
        public int HSNhanDqg { get; set; }
        public int HSNhanDangqg { get; set; }
        public int HSKHDTTrinh { get; set; }
        public int HSKHDTChuaTrinh { get; set; }
        public int HSUBNDDaGQ { get; set; }
        public int HSUBNDDangGQ { get; set; }
    }

}
